Use attributes instead of element-type annotation
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 28 Apr 2020 12:24:06 +0000 (13:24 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 28 Apr 2020 12:31:29 +0000 (13:31 +0100)
commit2a11f5f8893170c65e0724511eeed66e3eb2f6b1
tree8ddc3a4b7e9d4154b49028dc16b9d1939daf971c
parentf66950f48c2773b45f40ac4fcf305a3f407c4130
Use attributes instead of element-type annotation

The `element-type` annotation is for GList and GSList only, and turns
out adding support for GListModel in gobject-introspection breaks Vala
and the GIR for GIO.

Instead of using `element-type`, we can use the `attributes` annotation,
which is ignored by code generators based on the GIR data.
gtk/gtkwindow.c